from django.urls import path, re_path

from . import views
# 路由映射列表

urlpatterns = [
    # 获取省级行政区信息
    path('areas/', views.ProvinceAreasView.as_view()),
    # 获取子级市和区信息
    path('areas/<int:pk>/', views.SubAreasView.as_view()),

]